package com.ysx.wemedia.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("自媒体文章发布传输对象")
public class WmNewsDtoSubmit<T> {
    @ApiModelProperty("新闻Id")
    private String id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("0 无图 1单图 3多图")
    private Integer type;
    @ApiModelProperty
    private String labels;
    @ApiModelProperty("定时发布时间")
    private Date publishTime;
    @ApiModelProperty("频道Id")
    private Integer channelId;
    @ApiModelProperty("封面图片")
    private List<String> images;
    @ApiModelProperty("0草稿 1提交")
    private Integer status;
    @ApiModelProperty("图文内容")
    private List<T> content;
}
